<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>过渡</title>
		<style type="text/css">
			.box{
				width: 300px;
				height: 300px;
				background-color: #aaffff;
			    transition: width 3s linear ;
			}
			/* 过渡
			ease:默认值，慢-快-慢
			ease-in:低速开始
			ease-out：低速结束
			ease-in-out：低速开始和低速结束
			linear：匀速
			 */
			/* 鼠标悬停 */
			.box:hover{
				width: 900px;
				height: 200px;
				background-color: hotpink;
			}
			.box2{
				width: 200px;
				height: 200px;
				background-color: aquamarine;
				margin: auto;
				transition: transform 2s linear;
			}
			.box2:hover{
				
				transform: skew(-90deg);
				
			}
		</style>
	</head>
	<body>
		<div class="box"></div>
		<div class="box2"></div>
		
	</body>
</html>
